package cn.xd.base.domain.bean.command;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

@Builder
@Getter
@AllArgsConstructor
public class ChangePasswordCommand {

    @NotNull
    private Long id;

    @NotEmpty
    private String password;

}
